﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HMS.Master" AutoEventWireup="true" CodeBehind="RetrieveAccount.aspx.cs" Inherits="ReservationModule.RetrieveAccount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .auto-style12
    {
            width: 185px;
            text-align: left;
            height: 35px;
        }
        .auto-style15
        {
            text-align: left;
            height: 35px;
            margin-left: 40px;
        }
        .auto-style2
        {
            width: 100%;
        height: 104px;
    }
        .auto-style16
        {
            width: 185px;
            text-align: left;
            height: 37px;
        }
        .auto-style17
        {
            text-align: left;
            height: 37px;
        }
        .auto-style18
        {
            width: 185px;
            text-align: left;
            height: 35px;
            font-size: large;
        }
        .auto-style19
        {
            font-size: 16.2pt;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 class="auto-style19">Update/Delete</h2>
<h3 style="width: 605px; height: 26px">-Retrieve account by Staff ID or Staff NRIC</h3>

     <table class="auto-style2">
         <tr>
             <td class="auto-style12">Search by Staff ID:</td>
             <td class="auto-style15">
                 <asp:TextBox ID="tbxStaffID" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:Button ID="btnRetrieve" runat="server" OnClick="btnRetrieve_Click" Text="Retrieve" Width="78px" ValidationGroup="1" />
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxStaffID" ErrorMessage="Please enter Staff ID!" ForeColor="Red" ValidationGroup="1"></asp:RequiredFieldValidator>
             </td>
         </tr>
         <tr>
             <td class="auto-style12">Search by Staff NRIC:</td>
             <td class="auto-style15">
                 <asp:TextBox ID="tbxStaffNRIC" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:Button ID="btnRetrieve2" runat="server" OnClick="btnRetrieve2_Click" Text="Retrieve" Width="78px" ValidationGroup="2" />
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbxStaffNRIC" ErrorMessage="Please enter Staff NRIC!" ForeColor="#FF3300" ValidationGroup="2"></asp:RequiredFieldValidator>
             </td>
         </tr>
         <tr>
             <td class="auto-style18"><strong style="font-size: medium">-Account Particulars-</strong></td>
             <td class="auto-style15">
                 &nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style12">Staff ID:</td>
             <td class="auto-style15">
                 <asp:TextBox ID="tbxID" runat="server"></asp:TextBox>
             </td>
         </tr>
         <tr>
             <td class="auto-style16">Password:</td>
             <td class="auto-style17">
                 <asp:TextBox ID="tbxPass" runat="server"></asp:TextBox>
             </td>
         </tr>
         <tr>
             <td class="auto-style12">Staff Type:</td>
             <td class="auto-style15">
                 <asp:DropDownList ID="DDL" runat="server">
                     <asp:ListItem>Receptionist</asp:ListItem>
                     <asp:ListItem>Manager</asp:ListItem>
                     <asp:ListItem>Administrator</asp:ListItem>
                 </asp:DropDownList>
             </td>
         </tr>
         <tr>
             <td class="auto-style12">Staff NRIC:</td>
             <td class="auto-style15">
                 <asp:TextBox ID="tbxNRIC" runat="server"></asp:TextBox>
                 </td>
         </tr>
         <tr>
             <td class="auto-style12"></td>
             <td class="auto-style15">
                 </td>
         </tr>
         <tr>
             <td class="auto-style12">&nbsp;</td>
             <td class="auto-style15">
                 <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                 <asp:Button ID="btnBack" runat="server" Text="Back"/>
             </td>
         </tr>
         <tr>
             <td class="auto-style12">&nbsp;</td>
             <td class="auto-style15">
                 &nbsp;</td>
         </tr>
         <tr>
             <td class="auto-style12">&nbsp;</td>
             <td class="auto-style15">
                 &nbsp;</td>
         </tr>
     </table>
       
     </asp:Content>
